package cn.com.bluemoon.daps.standard.mapper;

import cn.com.bluemoon.daps.standard.entity.DapStandardDataType;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 数据库字段基础类型数据表 Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2020-08-07
 */
@Repository
public interface DapStandardDataTypeMapper extends BaseMapper<DapStandardDataType> {

    /**
     * 查询 某个数据库下的所有数据类型
     * @param dbType
     * @return
     */
    List<String> selectTypeList(@Param("dbType") Integer dbType, @Param("codeType") Integer codeType);

}
